#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QSystemTrayIcon>
#include "fWallpaper.h"
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
public slots:
    void onSetting();
    void onClose();
    void onHinde();
    void onActiveTray(QSystemTrayIcon::ActivationReason reason);
private:
    Ui::Widget *ui;
    QSystemTrayIcon *_tray;
    fWallpaper *_wallpaper;
};

#endif // WIDGET_H
